<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<style>
		body{
			background: #1E1E1E url() 0 0 no-repeat;
		}
		*{
			margin: 0px;
			padding: 0px;
		}
		li{
			list-style: none;
		}
		.out{
			width: 1200px;
			height: 260px;
			/*background: red url() 0 0 no-repeat;*/
			margin: 100px auto;
			overflow: hidden;
		}
		ul{
			width: 1300px;
		}
		.item{
			width: 172px;
			height: 260px;
			background-position: center;
			float: left;
		}
	</style>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
	<script>
		
		$(function () {

			$('.item').hover(function() {
				$(this).stop().animate({'width':'400px'}, 250).siblings().stop().animate({'width':'134px'}, 250)
			}, function() {
				$('.item').stop().animate({'width':'172px'}, 300)
			});
			// body...
		})
	</script>
</head>
<body>
	<div class="out">
		<ul class="box">
			<li class="item" style="background-image: url('./1.jpg')"></li>
			<li class="item" style="background-image: url('./2.jpg')"></li>
			<li class="item" style="background-image: url('./3.jpg')"></li>
			<li class="item" style="background-image: url('./4.jpg')"></li>
			<li class="item" style="background-image: url('./5.jpg')"></li>
			<li class="item" style="background-image: url('./6.jpg')"></li>
			<li class="item" style="background-image: url('./7.jpg')"></li>
		</ul>
	</div>
</body>
</html>